ContentEgg\application\components\AffiliateFeedParserModule D

Total Complexity 351
Dependencies 18
Dependents 0
Total lines 1,876
Lines of code 1,401
Logical lines of code 755
Comment lines 152
Methods 53
Properties 3

Methods 53

Method Rating Maintainability Complexity Lines of code
downloadViaFtp()
D
22
44 182
processFeedXmlStreamer()
D
26
40 154
processFeedXmlReader()
D
30 30 118
unzipSingleFeed()
C
32 27 101
processFeedCsv()
B
34 17 98
processFeedJson()
B
39 16 68
detectProductNodeWithXmlReader()
A
42 14 55
downloadFeed()
A
39 11 70
gunzipToFile()
A
43 11 51
deleteTemporaryFiles()
A
46 11 36
detectProductNodeWithStreamer()
A
45 9 40
redactUrlCredentials()
A
51 10 24
extractShippingCost()
A
53 8 23
getDatafeedDir()
A
48 7 34
maybeImportProducts()
A
48 7 33
extractXmlField()
S
58 5 17
fatalHandler()
S
58 5 16
refreshFeedData()
S
59 5 13
detectLikelyProductNode()
S
60 5 12
processFeed()
S
56 4 20
importProducts()
S
57 4 17
getLibxmlFlags()
S
60 4 16
getLastImportDateReadable()
S
58 4 16
isImportTime()
S
62 4 11
mapXmlData()
S
58 3 16
initProducts()
S
59 3 15
convertEncoding()
S
60 3 15
getProductNode()
S
62 3 12
sanitizeXPathResult()
S
68 3 7
isImportInProgress()
S
67 3 8
processFeedXml()
S
64 2 11
requirements()
S
64 2 10
isCompressedFeed()
S
79 2 3
maybeCreateProductTable()
S
73 2 6
setLastImportDate()
S
72 2 5
isTopLevelProductNode()
S
77 2 3
isImportScheduled()
S
66 2 8
getProductCount()
S
70 2 7
getProductModel()
S
100 1 0
getFeedUrl()
S
100 1 0
feedProductPrepare()
S
100 1 0
__construct()
S
70 1 5
isZippedFeed()
S
82 1 3
isGzipFeed()
S
82 1 3
dbDelta()
S
73 1 5
getLastImportDate()
S
79 1 3
getLastImportError()
S
79 1 3
setLastImportError()
S
74 1 4
getProductsTtl()
S
72 1 5
cleanXmlString()
S
70 1 6
sanitizeString()
S
79 1 3
detectCsvSettings()
S
76 1 4
cleanXmlStringForDetection()
S
70 1 6